<?php
/**
 * Created by PhpStorm.
 * User: silenceper
 * Date: 16/9/12
 * Time: 下午4:45
 */

namespace common\repositories\myhtsq;


use common\entities\myhtsq\ContractOverviewEntity;
use common\repositories\BaseRepository;

class ContractOverviewRepository extends BaseRepository {
    /**
     * 获取合同相关概览
     * @param $contractIds
     * @return array|\yii\db\ActiveRecord[]
     */
    public function getOverview($contractIds) {
        return ContractOverviewEntity::find()->where(["contract_id" => $contractIds])->all();
    }
}